package com.eastfair.venueservice.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.WorkOrderServiceItemDTO;
import com.eastfair.venueservice.entity.WorkOrderServiceItem;
import com.eastfair.venueservice.vo.WorkOrderServiceItemVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 工单服务项
 * </p>
 *
 * @author linan
 * @date 2022-10-14
 */
public interface WorkOrderServiceItemService extends SuperService<WorkOrderServiceItem> {
    /**
     * do转vo
     * @param model
    */
    WorkOrderServiceItemVO doToVo(WorkOrderServiceItem model);
   /**
    * do转vo
    * @param modelList
   */
    List<WorkOrderServiceItemVO> doToVos(List<WorkOrderServiceItem> modelList);


   /**
    * 通用查询
    *
    * @param modelDTO DTO
    * @param ids 主键id集合
    * @return list
    */
   List<WorkOrderServiceItem> list(WorkOrderServiceItemDTO modelDTO, List<Long> ids);

  /**
  * 通用查询
  *
  * @param modelDTO DTO
  * @param ids 主键id集合
  * @return list
  */
  List<WorkOrderServiceItem> listOfCache(WorkOrderServiceItemDTO modelDTO, List<Long> ids);
}
